#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @time     : 2019/11/20 19:20
# @Author   : BYF
# file      : base.py
# @version  :

from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC


class BasePage():
    def __init__(self, driver):
        self.driver = driver.Chrome()

    def __open(self, url):
        self.driver.get(url)
        return self.driver

